octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #60493] ignore_function_time_stamp none has no


From: Mike Miller
Subject: [Octave-bug-tracker] [bug #60493] ignore_function_time_stamp none has no effect
Date: Sat, 1 May 2021 15:46:43 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.93 Safari/537.36

Follow-up Comment #3, bug #60493 (project octave):

Sure, I mean that first I paste this into the command window and press Enter


fA = fopen( 'A.m', 'w' ); fprintf( fA, "function A()\n  disp( 'Hello from A'
)\n  B()\nend\n" ); fclose( fA );
mkdir private
fB = fopen( 'private/B.m', 'w' ); fprintf( fB, "function B()\n  disp( 'Hello
from B' )\n%%  C()\nend\n" ); fclose( fB );
fC = fopen( 'C.m', 'w' ); fprintf( fC, "function C()\n  disp( 'Hello from C'
)\nend\n" ); fclose( fC );

fprintf( "-- before activating C within B --\n" )
A()


and I get back


-- before activating C within B --
Hello from A
Hello from B


Now I paste this and press Enter


fprintf( "-- after editing B and activating C within it --\n" )
fB = fopen( 'private/B.m', 'w' ); fprintf( fB, "function B()\n  disp( 'Hello
from B' )\n  C()\nend\n" ); fclose( fB );
A()


and I get back


-- after editing B and activating C within it --
Hello from A
Hello from B
Hello from C


And lastly I paste this and press Enter


fprintf( "-- after clearing manually --\n" )
clear functions
A()


and of course I get back


-- after clearing manually --
Hello from A
Hello from B
Hello from C



    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?60493>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]