English Amiga Board

English Amiga Board (http://eab.abime.net/index.php)
-   support.Other (http://eab.abime.net/forumdisplay.php?f=74)
-   -   environment variables for kickstart 1.3 (http://eab.abime.net/showthread.php?t=90197)

jotd 13 January 2018 01:11

environment variables for kickstart 1.3
Another prehistorical question...

Is that feature available on kickstart 1.3?

Because GetVar,SetVar... don't exist prior to 2.0. But maybe there's another way to get them. After all those are only files copied in ENV:

thomas 13 January 2018 11:04

SetEnv and GetEnv do exist in WB 1.3.

$name only works in the Shell, not the CLI.

jotd 13 January 2018 11:40

Ok, my question was about system calls GetVar() & SetVar().

But I found the answer in Ralph Babel Guru book: prior to 2.0, you must handle env. vars with Open("ENV:<var name>"), then Read()...

just what I was about to do.

All times are GMT +2. The time now is 01:09.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2018, vBulletin Solutions Inc.

Page generated in 0.03991 seconds with 11 queries