Searching \ for '[SX] transferring stamp sx basic to compile sx/b' in subject line. ()
Make payments with PayPal - it's fast, free and secure! Help us get a faster server
FAQ page: www.piclist.com/techref/ubicom/languages.htm?key=sx
Search entire site for: 'transferring stamp sx basic to compile sx/b'.

Exact match. Not showing close matches.
PICList Thread
'[SX] transferring stamp sx basic to compile sx/b'
2006\11\14@205851 by vfidelesn/a

flavicon
face
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)

2006\11\14@225755 by Sparks-R-Funn/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, Sparks-R-Fun wrote:

vic f,
   Try using  addr = @msg1 and  addr = @msg2.

  The @ prefix indicates that the memory address rather than the memory contents should be used.


  - Sparks
---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=155267#m155275
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)

2006\11\15@033901 by beann/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, bean wrote:

vic f,
 Addr needs to be a WORD variable.

Bean.

---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=155267#m155290
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)

2006\11\15@223524 by vfidelesn/a

flavicon
face
In SX Microcontrollers, SX/B Compiler and SX-Key Tool, vfideles wrote:

thanks ben I will try it out when I get back home
and will inform you when I'm back in the office
Vic f
---------- End of Message ----------

You can view the post on-line at:
http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=155267#m155471
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)

More... (looser matching)
- Last day of these posts
- In 2006 , 2007 only
- Today
- New search...