7 Solved Topics
Remove Filter
|
|
I was informed the if-statement is incorrect. I can't find the syntax error ? var curDoc = app.activeDocument; var selall = app.executeMenuCommand("selectall"); var fillrmv = curDoc.pathItems[0].filled = false; if (app.activeDocument.pathItems[0].filled = true) { for (i=0;i>fillrmv;i++) { curDoc.pathItems[0].filled = false; }; }; |
|
I'm having an error when I run this code any ideas? When I run it and enter the code it works if I enter the same numbers I had entered before his turn, but if i enter different numbers I get Unhandled Exception: System.IndexOutOfRangeException: Index was outside the bounds of … |
|
I'm trying to switch "M" to "Mr." and "F" to "Ms." when the last name is selected in the listbox. When I clicked on the first name it worked, but when I clicked on anyother name, I got this error message: --Additional information: Index was outside the bounds of the … |
|
So I have a function called start() and it has multiple if statements and I want all of them to run. [code=python] def start(): print """You have just woken up from a very long nap. You find yourself in a dimly lit cave. There is a patch of light in … |
|
I want to stick this [CODE] Dim cmd As OleDbCommand = New OleDbCommand("SELECT * FROM 0 WHERE Id = 1", con) Dim reader As OleDbDataReader = cmd.ExecuteReader() If Not reader.HasRows Then MsgBox("Data does not exist") Else MsgBox("Data Exists") End If [/CODE] and this [CODE] If Inc <> -1 Then Dim … |
|
Here is the thing, as you might know AdMob has a `AdSize.*` function, where u put `Banner` to show banner ads, and AD_banner` for tablet banners, what i want to do is take a screen size of a device so that i could throw it in my if statement and … |
|
Hi I have hard time connecting the if else statement because my teacher is telling us to use this kind of if else if (statement) if (statement) if (statement) condition else condition("error") end if else condition end if else condition end if this is a simple betting game can you … |
The End.