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

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

[Octave-bug-tracker] [bug #60857] sourcing a file gives an unexpected er


From: Kai Torben Ohlhus
Subject: [Octave-bug-tracker] [bug #60857] sourcing a file gives an unexpected error message.
Date: Wed, 30 Jun 2021 01:27:31 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.114 Safari/537.36

Update of bug #60857 (project octave):

                  Status:                    None => Invalid                
             Open/Closed:                    Open => Closed                 

    _______________________________________________________

Follow-up Comment #1:

Short: use either the command or function syntax.  Don't mix them.


source sequence1.m
source ("sequence1.m")


The error is the same when just typing


sequence1.m


and occurs in your case when the interpreter wants to interpret the statement
between the brackets for making the function call to the "source" function. 
Thus the behavior is correct and expected, maybe irritating sometimes 😉

Read more about at
- https://octave.org/doc/v6.2.0/Commands.html
- https://octave.org/doc/v6.2.0/Functions-and-Scripts.html

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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