[Bug Fix] Syntax checker in RAPID Editor should Check string length
Options
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
Categories
- All Categories
- 5.4K RobotStudio
- 384 UpFeed
- 14 Tutorials
- 12 RobotApps
- 291 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 247 ScreenMaker
- 2.7K Robot Controller
- 279 IRC5
- 46 OmniCore
- 6 RCS (Realistic Controller Simulation)
- 3 RobotStudio AR Viewer
- 734 RAPID Programming
- 15 Wizard Easy Programming
- 105 Collaborative Robots
- 3 Job listings