View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001505SphereServernew feature requestpublic30-08-08 14:5109-09-08 16:22
ReportertheBug 
Assigned To 
PrioritynormalSeverityfeatureReproducibilityN/A
StatusclosedResolutionno change required 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0001505: Should allow appointing a var or tag in if or while statement
DescriptionWe should be able to give values to variables or tags in "if"s and "while"s. Here is the example:

if(var.test = <var.oldtest>)
//stuff that uses <var.test>
endif

or

while(local.test = <anobject.f_get_something> > 5)
//stuff that uses <local.test>
endif
Additional InformationEspecially it would be really useful using them in "while"s.
TagsNo tags attached.
Nightly VersionNot Available
Experimental FlagsNone
Option FlagsNone
Internal Build Number
Attached Files

- Relationships

-  Notes
(0000080)
nazghul (developer)
01-09-08 22:51

Very unlikely. Most older scripts use "=" and "==" without making any difference, sou Sphere cannot reliably decide if you mean a comparison or an assignment.

In other words: This would break zillions of older scripts
(0000088)
Fire-Dragon-DoL (reporter)
09-09-08 13:21

yes i can agree with naz...

it's a normal things for language but we can avoid this feature...doesn't create problems to anyone if you don't put it and creates problem if you do :P

- Issue History
Date Modified Username Field Change
30-08-08 14:51 theBug New Issue
30-08-08 14:51 theBug Nightly Version => Not Available
30-08-08 14:51 theBug Experimental Flags => None
30-08-08 14:51 theBug Option Flags => None
01-09-08 22:51 nazghul Note Added: 0000080
09-09-08 13:21 Fire-Dragon-DoL Note Added: 0000088
09-09-08 16:22 nazghul Status new => closed
09-09-08 16:22 nazghul Resolution open => no change required


Copyright © 2000 - 2010 MantisBT Group
Powered by Mantis Bugtracker