Hello,
is there any hint to find the source of any runtime function?
For example, I have searched for the OS() function, and could not find that function in the online help.
I have found that function then in the OS.prg in the XSharp.Core library, but it would be interesting to have a possibility to search in the entire repository.
Thank you very much!
Wolfgang
P.S. the code for Win32S and Win32Windows could be safely removed as X# will not run on these platforms
https://github.com/X-Sharp/XSharpPublic ... ons/OS.prg
starting with line 286
XIDE help - was: Hint to find the source of a runtime function?
XIDE help - was: Hint to find the source of a runtime function?
Wolfgang Riedmann
Meran, South Tyrol, Italy
wolfgang@riedmann.it
https://www.riedmann.it - https://docs.xsharp.it
Meran, South Tyrol, Italy
wolfgang@riedmann.it
https://www.riedmann.it - https://docs.xsharp.it
Hint to find the source of a runtime function?
Hello,
a curiosity: please look at the sample code from the VO 2.8 help for the OS() function: AFAIK VO 2.x was never able to tun under Windows 3.1 (and VO 1.0 applications were really instable there).
Wolfgang
a curiosity: please look at the sample code from the VO 2.8 help for the OS() function: AFAIK VO 2.x was never able to tun under Windows 3.1 (and VO 1.0 applications were really instable there).
Wolfgang
Wolfgang Riedmann
Meran, South Tyrol, Italy
wolfgang@riedmann.it
https://www.riedmann.it - https://docs.xsharp.it
Meran, South Tyrol, Italy
wolfgang@riedmann.it
https://www.riedmann.it - https://docs.xsharp.it
Hint to find the source of a runtime function?
Hi Wolfgang,
You can download the whole source, then use XIDE or VS to navigate/search etc around it like you do with your own projects.
About the docs, I suspect this was written during the CAVO 1.0 days
You can download the whole source, then use XIDE or VS to navigate/search etc around it like you do with your own projects.
About the docs, I suspect this was written during the CAVO 1.0 days
Chris Pyrgas
XSharp Development Team
chris(at)xsharp.eu
XSharp Development Team
chris(at)xsharp.eu
Hint to find the source of a runtime function?
Hi Chris,
thank you very much!
Maybe one (not you!) could write a GitHub parser and buld a database with links.
Wolfgang
thank you very much!
Maybe one (not you!) could write a GitHub parser and buld a database with links.
Wolfgang
Wolfgang Riedmann
Meran, South Tyrol, Italy
wolfgang@riedmann.it
https://www.riedmann.it - https://docs.xsharp.it
Meran, South Tyrol, Italy
wolfgang@riedmann.it
https://www.riedmann.it - https://docs.xsharp.it
Hint to find the source of a runtime function?
Wolfgang,
If you open the X# help file and look for OS Function, then you'll find a blue View Source button on that page in the help file.
If you click on that button then it will bring you to the page:
https://github.com/X-Sharp/XSharpPublic ... ons/OS.prg
The function is in that file.
Robert
If you open the X# help file and look for OS Function, then you'll find a blue View Source button on that page in the help file.
If you click on that button then it will bring you to the page:
https://github.com/X-Sharp/XSharpPublic ... ons/OS.prg
The function is in that file.
Robert
XSharp Development Team
The Netherlands
robert@xsharp.eu
The Netherlands
robert@xsharp.eu
Hint to find the source of a runtime function?
Hi Robert,
thank you very much!
Wolfgang
P.S. since the online help on the website had no reference about the OS function, I don't even tried the local help file thinking that both would be generated from the same source code
thank you very much!
Wolfgang
P.S. since the online help on the website had no reference about the OS function, I don't even tried the local help file thinking that both would be generated from the same source code
Wolfgang Riedmann
Meran, South Tyrol, Italy
wolfgang@riedmann.it
https://www.riedmann.it - https://docs.xsharp.it
Meran, South Tyrol, Italy
wolfgang@riedmann.it
https://www.riedmann.it - https://docs.xsharp.it
Hint to find the source of a runtime function?
Wolfgang,
I think the search function on the web ignores 2 character words.
Robert
I think the search function on the web ignores 2 character words.
Robert
XSharp Development Team
The Netherlands
robert@xsharp.eu
The Netherlands
robert@xsharp.eu
Hint to find the source of a runtime function?
Maybe you made the same mistake as i did: "Search" for "OS()" gives "Help couldn't search for this entry". But searching for "OS" works!wriedmann wrote:For example, I have searched for the OS() function, and could not find that function in the online help.
@Robert: seems there's a problem with "(" in parsing the search entry - couldn't make it work for any function call
Regards
Karl
(on Win8.1/64, Xide32 2.20, X#2.20.0.3)
Karl
(on Win8.1/64, Xide32 2.20, X#2.20.0.3)
Hint to find the source of a runtime function?
Hi Robert,
for me the search to "OS" does not works (contrarily to Karl), and typing "OS()" removes the parentheses.
Wolfgang
for me the search to "OS" does not works (contrarily to Karl), and typing "OS()" removes the parentheses.
Wolfgang
Wolfgang Riedmann
Meran, South Tyrol, Italy
wolfgang@riedmann.it
https://www.riedmann.it - https://docs.xsharp.it
Meran, South Tyrol, Italy
wolfgang@riedmann.it
https://www.riedmann.it - https://docs.xsharp.it
Hint to find the source of a runtime function?
Wolfgang,
where/how did you search?
Xide-Help- X#-X#help file - tab search?
That's how i did.
BTW, cursor on "OS(..." and Shift F1 unfortunately does not work, while right-click lets jumps to metadata, which isn't too helpful - @Chris, any chance to wire this to help (and ideally) jumpable further to the source?
where/how did you search?
Xide-Help- X#-X#help file - tab search?
That's how i did.
BTW, cursor on "OS(..." and Shift F1 unfortunately does not work, while right-click lets jumps to metadata, which isn't too helpful - @Chris, any chance to wire this to help (and ideally) jumpable further to the source?
Regards
Karl
(on Win8.1/64, Xide32 2.20, X#2.20.0.3)
Karl
(on Win8.1/64, Xide32 2.20, X#2.20.0.3)