We would like to build a community for Small Basic programmers of any age who like to code. Everyone from total beginner to guru is welcome. Click here to register and share your programming journey!


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
LDCommPort
#2
Hi Eddie,

Looking just at the command  LDCommPort.TXString("<t " + address + speed +"1 ">") as the rest appears to be using language aliases (share using Publish converts to standard SB without aliases).

TXString requires a single string, the following compiles with the string output for testing:

Code:
adresse = 3
geschw = 50
LDCommPort.TXString("<t " + adresse + " " + geschw +" 1>")
TextWindow.WriteLine("<t " + adresse + " " + geschw +" 1>")


Maybe it is simply the extra " you have.
Reply


Messages In This Thread
LDCommPort - by Eddie - 07-13-2025, 05:56 AM
RE: LDCommPort - by litdev - 07-13-2025, 07:28 AM
RE: LDCommPort - by Eddie - 07-13-2025, 09:18 AM
RE: LDCommPort - by litdev - 07-13-2025, 10:19 AM
RE: LDCommPort - by Eddie - 07-13-2025, 12:21 PM
RE: LDCommPort - by litdev - 07-13-2025, 12:49 PM
RE: LDCommPort - by Scout - 07-13-2025, 05:14 PM
RE: LDCommPort - by AbsoluteBeginner - 07-13-2025, 07:06 PM
RE: LDCommPort - by Eddie - 07-14-2025, 01:22 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)