delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/09/12/19:21:09

Message-ID: <00b401befefc$cbd992c0$5df343c3@marocky>
From: "Hakan Venderlof" <grok AT telia DOT com>
To: <djgpp AT delorie DOT com>
Subject: load and save variable
Date: Wed, 15 Sep 1999 00:01:13 +0200
Organization: grok computer
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.00.2014.211
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211
Reply-To: djgpp AT delorie DOT com

Hello
I would like to load an variable from a file
'variable.txt'  looking like  this:

25


and then change the variable in a program and
save the variable to the samefile, eg overwriting the file
to for example

50


How should this be written?

***  greetings         grok        sweden  ***


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019