[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: While loop error, is not recognized
From: |
Sahil |
Subject: |
Re: While loop error, is not recognized |
Date: |
Sat, 28 Apr 2018 07:47:56 -0700 (MST) |
renzosebs wrote
> Thanks for your help. Yes, that was a mistake I made but the problem is
> not
> that, is that while is not being closed. I dont have the scope that is
> seeing in Sahil photo. The code is here:
> function [i] = whale(a)
> b=a;
> i=0;
> while (i<10)
> i
> i=i+1;
> endwhile
> for z=1:i
> fprintf("%d", z);
> endfor
> endfunction
This code shows correct scope for me. Can share your Octave's version,
Operating System and answer to this command in octave:
"__octave_config_info__.hg_id" ?
--
Sent from: http://octave.1599824.n4.nabble.com/Octave-General-f1599825.html
- While loop error, is not recognized, renzosebs, 2018/04/28
- Re: While loop error, is not recognized, Marco Atzeri, 2018/04/28
- Re: While loop error, is not recognized, Andreas Weber, 2018/04/28
- Re: While loop error, is not recognized, Sahil, 2018/04/28
- Re: While loop error, is not recognized, renzosebs, 2018/04/28