Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

第一册 P62 图8-1变量类型括号错位 #12

Closed
jackbai233 opened this issue May 7, 2022 · 1 comment
Closed

第一册 P62 图8-1变量类型括号错位 #12

jackbai233 opened this issue May 7, 2022 · 1 comment

Comments

@jackbai233
Copy link

jackbai233 commented May 7, 2022

图8-1(变量声明形式使用决策流程图) 中,在“是否使用默认类型”--> "N" 时:

  1. 局部变量声明方式:书中为 a :=(int32)17 ,实际应为 a := int32(17)
  2. 包级变量声明方式:书中为 var a = (int32)17,实际应为 var a = int32(17)
    image
@bigwhite
Copy link
Owner

已更新到勘误表,感谢指出。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants