feat(t32): initial support

This commit is contained in:
xasc 2022-11-06 17:44:50 +01:00 committed by Stephan Seitz
parent 51df4212e7
commit 2d48cbc831
10 changed files with 371 additions and 0 deletions

View file

@ -0,0 +1,27 @@
Var.NEWGLOBAL char[4][32] \myarr
; <- keyword
; ^ type
; ^ variable.builtin
LOCAL &i &data
&data="zero|one|two|three"
&i=0.
WHILE &i<4
(
PRIVATE &val
&val=STRing.SPLIT("&data","|",&i)
Var.Assign \myarr[&i]="&val"
; ^ variable.builtin
&i=&i+1.
)
Var.NEWLOCAL \x
; <- keyword
; ^ variable.builtin
Var.set \x=func3(5,3)
; ^ variable.builtin
PRINT Var.VALUE(\x)
; ^ variable.builtin
// vim: set ft=t32: