| Anonymous | Login | Signup for a new account | 03-12-25 19:55 CET | ![]() |
| Main | My View | View Issues | Change Log | Roadmap |
| View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | |||||
| ID | Project | Category | View Status | Date Submitted | Last Update | |
| 0001505 | SphereServer | new feature request | public | 30-08-08 14:51 | 09-09-08 16:22 | |
| Reporter | theBug | |||||
| Assigned To | ||||||
| Priority | normal | Severity | feature | Reproducibility | N/A | |
| Status | closed | Resolution | no change required | |||
| Platform | OS | OS Version | ||||
| Product Version | ||||||
| Target Version | Fixed in Version | |||||
| Summary | 0001505: Should allow appointing a var or tag in if or while statement | |||||
| Description | We 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 Information | Especially it would be really useful using them in "while"s. | |||||
| Tags | No tags attached. | |||||
| Nightly Version | Not Available | |||||
| Experimental Flags | None | |||||
| Option Flags | None | |||||
| Internal Build Number | ||||||
| Attached Files | ||||||
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 |