FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Search found 12 matches
Forum Index
Author Message
  Topic: Getting an integer input/converting types
AutoPython

Replies: 4
Views: 10033

PostForum: General   Posted: Tue Dec 15, 2009 9:11 pm   Subject: Getting an integer input/converting types
Gives me this error Exclamation :



writef("Please type a number: ");
char[] input = readln();
input = to!int(input);

[color=red]
found '!' ...
  Topic: Getting an integer input/converting types
AutoPython

Replies: 4
Views: 10033

PostForum: General   Posted: Mon Dec 14, 2009 7:06 pm   Subject: Getting an integer input/converting types
I am a total newbie, and I have no idea how to get an integer input. Or if I can just use 'readln()' and convert the char[] type to the desired type.
  Topic: Compile error (DMD 1.050/ DFL 0.9.8
AutoPython

Replies: 14
Views: 26927

PostForum: DFL   Posted: Sun Dec 13, 2009 2:55 pm   Subject: Compile error (DMD 1.050/ DFL 0.9.8
Okay. I am confused like heck.
When I use the command to build the LIB files it builds .obj files, when I add the -lib switch it doesn't make any files. I'm using this command


C:\D\dmd130\d ...
  Topic: Compile error (DMD 1.050/ DFL 0.9.8
AutoPython

Replies: 14
Views: 26927

PostForum: DFL   Posted: Sat Dec 12, 2009 10:02 am   Subject: Compile error (DMD 1.050/ DFL 0.9.8
You see, none of my library files in the file folder are .lib type. They're all .obj type.
  Topic: Compile error (DMD 1.050/ DFL 0.9.8
AutoPython

Replies: 14
Views: 26927

PostForum: DFL   Posted: Thu Dec 10, 2009 9:20 pm   Subject: Compile error (DMD 1.050/ DFL 0.9.8
No, the error always happens when I need to build the Lib files.
  Topic: Compile error (DMD 1.050/ DFL 0.9.8
AutoPython

Replies: 14
Views: 26927

PostForum: DFL   Posted: Wed Dec 09, 2009 9:23 pm   Subject: Compile error (DMD 1.050/ DFL 0.9.8
Didn't work.... Is there any version or any dmd compiler that for sure don't have any errors?
  Topic: Compile error (DMD 1.050/ DFL 0.9.8
AutoPython

Replies: 14
Views: 26927

PostForum: DFL   Posted: Tue Dec 08, 2009 9:46 pm   Subject: Compile error (DMD 1.050/ DFL 0.9.8
Okay, I switched to DMD 1.030 so I can use DFL. Now when I compile I get this error.

C:\D\dmd130\dmd\import\dfl>C:\D\dmd130\dmd\bin\lib -c -n -p64 dfl_debug.lib C:\D
\dmd130\dmd\lib\gdi32.lib ...
  Topic: Compile error (DMD 1.050/ DFL 0.9.8
AutoPython

Replies: 14
Views: 26927

PostForum: DFL   Posted: Tue Dec 08, 2009 4:43 pm   Subject: Compile error (DMD 1.050/ DFL 0.9.8
EDIT:

Okay, I'm going to start explaining what I'm doing. Because after using 1.030 and the DFL release which supposedly has been tested with 1.30 it still doesn't work. I prefer the .zip installat ...
  Topic: How to change property form another form?
AutoPython

Replies: 15
Views: 33639

PostForum: DFL   Posted: Sun Dec 06, 2009 9:10 am   Subject: How to change property form another form?
I think the second one would go like this:



import dfl.all;
import myform2;

void main: initializeMyForm()
{
auto d = new MyForm();
d.text = "Hello...&quo ...
  Topic: How to change property form another form?
AutoPython

Replies: 15
Views: 33639

PostForum: DFL   Posted: Sat Dec 05, 2009 10:23 pm   Subject: How to change property form another form?
There is some easy Rolling Eyes .
Inheritance.


class a ()
{
chr[] some_var = "a";
}

class b:a()
{
writef(some_var);
...
  Topic: How to change property form another form?
AutoPython

Replies: 15
Views: 33639

PostForum: DFL   Posted: Sat Dec 05, 2009 9:02 pm   Subject: How to change property form another form?
You could try returning Name.


private void initializeMyForm()
{
// Do not manually modify this function.
//~Entice Designer 0.8.6pre4 code begins here.
//~DFL Fo ...
  Topic: Compile error (DMD 1.050/ DFL 0.9.8
AutoPython

Replies: 14
Views: 26927

PostForum: DFL   Posted: Sat Dec 05, 2009 8:48 pm   Subject: Compile error (DMD 1.050/ DFL 0.9.8
Here are my errors (Using DMD 1.51, and DFL 0.98 ).

control.d(4761): Error: Integer constant expression expected instead of null
control.d(4761): Error: Integer constant expression expected instea ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group