Hi I want to know is there any function existing in WebFocus for putting any value or number inside a single Quote. For Example if a vaiable RTM = 20 I want to have like '20' in any other Variable. Its urgent.!! Please Reply asap. Thanking You. Regards Mayank Agrawal
August 30, 2011, 04:49 AM
MurthyRSN
You can use EDIT to get quotes to values.
WebFOCUS v7.7.05 Windows 7 HTML/EXCEL/PDF/AHTML
August 30, 2011, 08:21 AM
<FreSte>
... or ...
-SET &ECHO='ON';
-SET &RTFM = ITALY;
TABLE FILE CAR
SUM DEALER_COST
WHERE COUNTRY EQ &RTFM.QUOTEDSTRING
ON TABLE HOLD
END
Not subtle enough This message has been edited. Last edited by: <FreSte>,
August 30, 2011, 05:35 PM
Waz
Is this for a dialog manager variable ??
Waz...
Prod:
WebFOCUS 7.6.10/8.1.04
Upgrade:
WebFOCUS 8.2.07
OS:
Linux
Outputs:
HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!
September 01, 2011, 06:19 AM
Baillecl
Too subtle for me. But Google told me what RTFM meant. Thanks to ABT to help slow minded Cordially and Slow Mindedly PS : I wouldn't name a Field DATE if I were giving examples to a NewComer. (I used to be a famous player in "the Dinner Game")
Focus Mainframe 7.6.11 Dev Studio 7.6.11 and !!! PC Focus, Focus for OS/2, FFW Six, MSO
September 01, 2011, 08:11 AM
ABT
quote:
... WHERE COUNTRY EQ &RTFM.QUOTEDSTRING ...
Ths is a complete sidebar, but when the heck is DevStudio going to get Intellisense / type ahead / code complete? I am envious of the Microsoft tools for this.
I'll be the first to say that i personally didn't know there was a QUOTEDSTRING method, but if there was intellisense you;d see it and every other available property.
,but I agree with you, some more intelligence would be very much welcome
September 01, 2011, 05:43 PM
Waz
quote:
Microsoft tools
CPU time wasters.....
If you need point and click and "autocomplete" then you don't know the language.
Waz...
Prod:
WebFOCUS 7.6.10/8.1.04
Upgrade:
WebFOCUS 8.2.07
OS:
Linux
Outputs:
HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!
September 02, 2011, 07:40 AM
<JJI>
I have to agree with Fred and ABT. Some more intenlligence would definitely be appreciated by most developers. Autocomplete is the one I would prefer the most. Autocomplete helps you to develope quicker and does not mean that you don't know the language!!!!!
September 04, 2011, 05:38 PM
Waz
quote:
does not mean that you don't know the language
Conthe contrary, it creates an environment of assumptions, and you could end up with code that you don't want if you're not checking what its "autocompleting".
Perhaps its just the option of a bit of a programming dinosaur. I always hated predictive test stuff in mobile phones.