rectangle function undefined in octave - undefined

for some reason, neither the octave terminal, nor my editor recognizes the rectangle-function.
For example, when I try to get the documentation via the help command, I get this:
octave-3.2.4:41> help rectangle
error: help: `rectangle' not found
I'm sure it's an incredibly stupid error, but I just can't find it.
Everything else is working fine.
I appreciate any help!
Hannah

Related

Out of memory error for more than a day. Code does not run

I made a Slackbot with Google Apps Script and everything was fine until yesterday I started getting Out of memory error out of nowhere. Now I can't even run any of my working code. Has anyone encountered something similar? Not even console.log() will print, it just gives the same error. I tried running a simple function with console.log() in it and that didn't work either.
This is the code in my project. I wrote an infinite loop before to do spreadsheet actions but now it is removed.
function test() {
console.log("1");
}
The Out of memory error alert occurs because a variable grew too much on size. Without looking at your code I can't point which variable caused this behaviour, but I can help you in the right direction: first of all make sure that you are not saving all the data in a single variable. After that, check that there is no infinite loop in the code.
I hope to have helped you, but if you keep facing the problem don't hesitate to share the code so I can help you better.

So I can't seem to properly update my visual studio, and it keeps giving me this error

https://github.com/thiccswwss/Error/blob/master/.github/workflows/ERROR
Sorry, it won't let me put the entire error message into here, I wold really appreciate it if someone could help me. I am trying to make a music bot for discord, and every time that i try to use npm i node-opus it gives me that message.

Unresolved Function or Method push() FLEX ActionScript

After a recent reinstallation of my computer I have encoutered a very frustrating and strange issue with JetBrains IntelliJ.
I have this line of code
this.path_.data.push(r.left, r.top, r.right, r.top, r.right, r.bottom, r.left, r.bottom);
And similar ones around my project.
path_ = new GraphicsPath(GraphicsUtil.QUAD_COMMANDS, new Vector.<Number>());
data inside of path_ is a Vector.<Number> but for some reason I am unable to use the function native AS3 function push(... rest):uint; on it. It just shows me this error
I have tried to find a solution to this issue for the past 6 hours and haven't found anything so far... Hoping anyone here might be able to give some assistance with this issue.
Note: This has never happened to me in the past.
I have looked into the declaration of push() and it points to my library.swf for everything except the code that uses GraphicsPath.data... That file seem to point to ECMAScript.js2 which doesn't contain anything for Vector Objects at all.

Why can't I get any .m file to work in octave?

I am desperately trying to run octave in a VirtualBox of Ubuntu 12.04. I have made a file called ANGRY.m which has lines as follows:
%How badly does octave suck?
OCTAVESUCKS=5
That is it. When I try to run it (i.e. enter ANGRY into the command line I get this error message:
error: `ANRGY' undefined near line 1 column 1
I've had things running better than this in octave and have absolutely no clue why it is doing this or how to fix it or how to go about trying to search for what is wrong. I am sorry I cannot be more helpful. But I really can't. Please aim any answer at a total moron. I'm really not a programmer.
You misspelled ANGRY when you put it into the terminal...
Do you see your file ANGRY.m when you type
ls
in Octave? Check the working dir with "pwd"!

Rename function doesn't work, Visual Studio 2013 RC

I want to rename a file with rename function:
rename("old_name.txt", "new_name.txt")
but it doesn't work. Any ideas why?
Are you checking the return value to see if you're getting an error code (non-zero). The response is detailed here. http://msdn.microsoft.com/en-us/library/zw5t957f%28v=vs.110%29.aspx. That should help you pin it down.
Typically I've seen this be due to permission issues or the fact that the location is wrong. Maybe you think it is running in "c:\abc" but it is really "c:\xyz".