In SX Microcontrollers, SX/B Compiler and SX-Key Tool, vfideles wrote: I been transferring some program from parallax stamp basic to sx/b compile basic, and the following basic statement below cannot be be compile but works in stamp basic; i var byte addr var byte chr var byte start: addr = msg1 gosub display_line addr = msg2 gosub display_line end display_line: i = 0 do read addr + i,chr if chr = 0 then exit serout rb.1,T9600,chr inc i loop return msg1: data "sample line 1",0 msg2: data "sample line 2",0 what I get when compiling this program an "error 8, invalid parameter" for line 5 what is the equivalent command for assignning a pointer to a variable in sx/b?? thank you ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=155267 Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2006 (http://www.dotNetBB.com)