mirror of
https://github.com/nineties/planckforth
synced 2024-12-26 21:58:42 +01:00
replace [ char ... ] literal to [char] ...
This commit is contained in:
parent
d1c0d93bec
commit
62a3eee77e
1 changed files with 13 additions and 13 deletions
26
bootstrap.fs
26
bootstrap.fs
|
@ -929,19 +929,19 @@ variable base \ number base
|
|||
|
||||
decimal \ set default to decimal
|
||||
|
||||
: '0' [ char 0 ] literal ;
|
||||
: '9' [ char 9 ] literal ;
|
||||
: 'a' [ char a ] literal ;
|
||||
: 'x' [ char x ] literal ;
|
||||
: 'z' [ char z ] literal ;
|
||||
: 'A' [ char A ] literal ;
|
||||
: 'Z' [ char Z ] literal ;
|
||||
: '-' [ char - ] literal ;
|
||||
: '&' [ char & ] literal ;
|
||||
: '#' [ char # ] literal ;
|
||||
: '%' [ char % ] literal ;
|
||||
: '$' [ char $ ] literal ;
|
||||
: '\'' [ char ' ] literal ;
|
||||
: '0' [char] 0 ;
|
||||
: '9' [char] 9 ;
|
||||
: 'a' [char] a ;
|
||||
: 'x' [char] x ;
|
||||
: 'z' [char] z ;
|
||||
: 'A' [char] A ;
|
||||
: 'Z' [char] Z ;
|
||||
: '-' [char] - ;
|
||||
: '&' [char] & ;
|
||||
: '#' [char] # ;
|
||||
: '%' [char] % ;
|
||||
: '$' [char] $ ;
|
||||
: '\'' [char] ' ;
|
||||
|
||||
\ Display unsigned integer u2 with number base u1.
|
||||
: print-uint ( u1 u2 -- )
|
||||
|
|
Loading…
Reference in a new issue