Changeset dcfcf368 for doc/theses/jiada_liang_MMath/test.go
- Timestamp:
- Sep 14, 2024, 5:07:55 PM (7 weeks ago)
- Branches:
- master
- Children:
- 8c79dc3c
- Parents:
- 3733643
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
doc/theses/jiada_liang_MMath/test.go
r3733643 rdcfcf368 20 20 21 21 22 const ( R = 0; G = 3; B = 3; TT = 3 ) // implicit: 0 3 323 const ( Fred = "Fred"; Mary = "Mary"; Jane = "Jane" ) // Fred Mary Jane22 const ( R int = 0; G = 3; B = 3; TT = 3 ) // implicit: 0 3 3 23 const ( Fred string = "Fred"; Mary = "Mary"; Jane = "Jane" ) // Fred Mary Jane 24 24 const ( H = 0; Jack = "Jack"; J; K = 0; I ) // type change, implicit: 0 Jack Jack 25 25 const ( C = iota + G; M = iota; Y ) … … 31 31 const ( D = 1.5; E ); 32 32 33 33 const ( AA int = 3; KK; BB float32 = 3.5; CC = 3.9 ); 34 type BigInt int64 34 35 35 36 func main() { 36 37 fmt.Println( "Go:") 37 38 if 3 == R {}; 39 fmt.Println( AA, KK, BB, CC ) 38 40 fmt.Println( R, G, B ) 39 41 fmt.Println( Fred, Mary, Jane )
Note: See TracChangeset
for help on using the changeset viewer.