PDA

View Full Version : Build 2884: Compiler does not check length of the name of a runtime



NewsArchive
02-26-2010, 03:20 AM
Hi Friedrich,

it woul be better, if this problem would popup at compile time, not at
runtime.

What is the max length of an runtime variable?

See attached Screenshot.

Thanks.

Markus

NewsArchive
02-26-2010, 03:20 AM
Hi Markus,

> it woul be better, if this problem would popup at compile time, not at
> runtime.

I agree 100%. This will be done in the next build.

>
> What is the max length of an runtime variable?
>

The maximum length is 50 characters.

Friedrich

NewsArchive
05-06-2011, 01:43 PM
Hi Friedrich,

the length is still checked at runtime instead of compiletime in SB 7.4

Markus

NewsArchive
05-06-2011, 01:43 PM
Hi Markus,

>
> the length is still checked at runtime instead of compiletime in SB 7.4
>

Yes, you are right. I'll see what we can do. The compiler should
definitely catch this.

Friedrich

NewsArchive
05-17-2011, 12:39 AM
Hi Markus,

>
> the length is still checked at runtime instead of compiletime in SB 7.4
>

Unfortunately, we can't reproduce it here :-( See attached screenshot.

Could you please send us a quick demo project?

Thanks,
Friedrich

NewsArchive
05-17-2011, 12:39 AM
Attached.

Markus Zander

NewsArchive
05-17-2011, 12:39 AM
>
> Attached.
>

Interesting. Thanks for the demo.

Friedrich

NewsArchive
05-17-2011, 12:40 AM
Fixed, thank you.

---
FIX : (sync from SB8) [SB#105064] IDE: The internal 'runtime variable
name validity verification' function did not resolve compiler
variables.
---

Friedrich

NewsArchive
05-18-2011, 02:21 AM
OK in 3325

Markus Zander