PI.VARS - jedimatt42/tipi GitHub Wiki

PI.VARS - Network variable protocol

Provides Level 3 File access to working with Tipi Network Variables

Writes a variable to a special store on TIPI, this is a local variable named KEY and it gets the value VALUE. It is stored under the application name VARTEST.

10 PRINT "HELLO"
11 SEP$=CHR$(30)
20 OPEN #1:"PI.VARS"
30 PRINT #1:"VARTEST";SEP$;SEP$;"W";SEP$;SEP$;SEP$;"KEY";SEP$;"VALUE"
40 CLOSE #1

This retrieves variable KEY into A$

50 OPEN #1:"PI.VARS"
60 PRINT #1:"VARTEST";SEP$;SEP$;"RS";SEP$;SEP$;SEP$;"KEY"
70 INPUT #1:A$
80 CLOSE #1
90 PRINT A$

?? Maybe ElectricLab has some examples?

There is a bunch more that can be done... TCP variables, Queue variables..