You are here

SINPUT

SmallBASIC syntax groups: 


String command SINPUT


10
20  SINPUT src; var [, delim] [,var [, delim]] …
30
Splits the string ‘src’ into variables which are separated by delimiters.


See examples


If there is insufficient information on this page and you wish learn more about SINPUT, please send an email to smallbasic@gmail.com. You can help to improve information about SINPUT by submitting an article using the comments link below. Note, an offline language reference text file is now avialable – see the Download section.

SINPUT "if x>1 then y"; vif, " ", vcond, "then", vdo
? vcond, vdo
' result=
' x>1   y