[Bug Fix] Syntax checker in RAPID Editor should Check string length
Hello,
Writing a too long string (>80 chars) I get error:
String too long(141): The string RL3 is too long.
But only when applying in normal task or with Check Program.
In my case, I'm editing a background task module reloaded with P-Start.
So no way to get this error as module is simply not loaded.
Could Rapid Editor's syntax checker (red underline) report it?
Tagged:
0
Comments
-
Hi...It already occurred to me, when a string is concatenated to another it could overflow the maximum size.
ex:TpWrite "Ora: "+CTime()+"Data: "+CDate();
In this case 'CRime()' and 'CDate()' return small strings, but for other cases you can have the sum of strings with more characters, which returns the error.
ex:ErrWrite "ERR_ALIASIO_TYPE","" \RL2:="Signal types for FromSignal and ToSignal arguments are not the same" \RL3:="(signalx). Instrução AliasIO."+msg;
It does not generate an error when compiling, but if the instruction is executed there is a character limit.
SOON ...ErrWrite "ERR_ALIASIO_TYPE","" \RL2:="Signal types for FromSignal and ToSignal arguments are not the same" \RL3:="(signalx). Instrução AliasIO."
\RL4:=
msg;no errors.
I hope it helps...0 -
Hi,I don't want syntax checker verify variables length but at least static ones.The ones who make fail the module loading.1
-
+1
Would be great!-----------------
David
Swedish freelance ABB robot programmer0 -
Still Presents in 2024.2.1
0
Categories
- All Categories
- 5.5K RobotStudio
- 394 UpFeed
- 18 Tutorials
- 13 RobotApps
- 297 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 249 ScreenMaker
- 2.7K Robot Controller
- 309 IRC5
- 59 OmniCore
- 7 RCS (Realistic Controller Simulation)
- 785 RAPID Programming
- AppStudio
- 3 RobotStudio AR Viewer
- 18 Wizard Easy Programming
- 105 Collaborative Robots
- 4 Job listings