Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
DIGITAL Command Language
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
==Lexical functions== '''Lexical functions''' provide string functions and access to VMS-maintained data. Some Lexicals are: * {{code|F$EXTRACT(start,length,string)}} {{--}} extract a substring * {{code|F$CVTIME}} {{--}} obtain date/time info, e.g. *: {{code|lang=powershell|1=YEST_DOW=F$EXTRACT(0,3,F$CVTIME(DATE_EXPR,,"WEEKDAY"))}} * {{code|F$ELEMENT(0," ",ABC_DEF)}} {{--}} for {{code|ABC_DEF {{=}} "ABC DEF"}} would return {{code|"ABC"}} * {{code|F$SEARCH}} {{--}} searches for a file, returns a null ("") if not found * {{code|F$LOCATE(needle,haystack)}} * {{code|F$SetPRV("BYPASS,CMKRNL,ALTPRI")}} {{--}} it's a privilege to have access to this.
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)