I got Python float value and I need to convert it in to Microsoft Basic Float (MBF) format.
Luckily, Got some code from internet that does the reverse.
def fmsbin2ieee(self,bytes):
"""Convert an array of 4 bytes containing Microsoft Binary floating point
number to IEEE floating point format (which is used by Python)"""
as_in...
Possible Duplicate:
Why did we bother with line numbers at all?
I'm curious about why early versions of the BASIC programming language had line numbering like in:
42 PRINT "Hello world!"
The text editors back then had no line numbering?
EDIT: Yes, I know they are used for GOTOs, but why? I mean having labels was too comput...
Hi Guys,
I am using Axis2 for generating Client from WSDL Files, using WSDL2JAVA.bat i will generate java files from WSDL, the problem i am encountering is ***i cant pass username and password for the WSDL urls which has Basic Authentication to WSDL2JAVA.bat***. Kindly help.
Thanks,
Ramachandran
...
hi
<?php
class myClass {
var $input;
var $output;
function myClass($input) {
$output = 'You entered: ' . $input;
return $output;
}
}
$test = new myClass;
echo $test->myClass(123);
?>
this works, but returns this warning:
Warning: Missing argument 1 for myClass::myClass()
I read in to this, and seems that the constructor ...
I've protected WSDL url with Basic Auth, if I put that url in a browser I'm get a pop-up with usr&pwd.
How can I create WebService Client with netbeans with that protected URL?, I've tried but doesn't work ("Error: An I/O error occured. Connection timed out: connect").
Thanks!
...
i have create a form (so it's PHP and HTML hybrid-code). it has ability to send '$_POST'. And when i click it, it work perfectly on sending and displaying input.
But there's something happening when i click ctrl+r in firefox for represhing the page. I got this confim dialog : "To display this page, Firefox must send information that wi...
Hello colleagues. I've created wcf service with transport security over HTTPS. Also I use UserName authentication as described at http://msdn.microsoft.com/en-us/library/cc949025.aspx, so I can use my Membership,RoleProvider. When I work with this service with ASP.NET all is OK
var client = new RegistratorClient();
client.ClientCred...
Hey braintrust,
I'm making an ajax call using jQuery's library to an api, which requires a username and password encoded to base64 be added to the header.
here's a basic example:
$.ajax({
type: "GET",
contentType: 'application/json',
beforeSend:function(xhr){
xhr.setRequestHeader("Authentication", "Basic " + ba...
I want to display a image using SmallBASIC. For this I've started by searching on the references, then I found a reference for IMAGE, that is like this:
IMAGE #handle, index, x, y [,sx,sy [,w,h]]
Then I found another to open files(OPEN):
OPEN file [FOR {INPUT|OUTPUT|APPEND}] AS #fileN
But I want to know some things:
What image ty...
I'm playing with TI-83+ BASIC development. But I want to know if I can
write my code on the computer and compile it, then transfer the
program to the emulator.
...
The reason? Pure nostalgia.
Anyway, there was a standard for Basic that was published in the late 80s or early 90s. It was probably ISO/IEC 10279:1991, but I don't have access to that and cannot be sure.
Whatever this standard was, some of the syntax made its way into Borlands Turbo Basic and Microsofts Visual Basic. I never learned an...
Hi All,
I'm really new to AppleScript so this is a real basic question but I couldn't find the answer or an example in the AppleScript ref. guide.
I'm making a simple script that I'll bundle as an .app file, in the AppleScript Editor I can see the .app's Bundle Contents in which I have an icon a descritpion file and a "Scripts" folde...
How can this be achieved? Just show a small preview of an office document without actually opening it. Office does it on it's own when you are trying to open a file, but i need a userform that can do that.
Thanks.
...
Hi all,
I like to learn computer science and programming, but i don't know where and how to start. For the past two months, i have been researching on types of programming, i found my interest in desktop programming, and also found this subjects (discrete maths, logic, algorithms, data structures, artificial intelligence, simulation) sai...
Hi all.
I have managed to serialize my very basic GUI-object containing a JTextArea and a few buttons to a file 'test.ser'.
Now, I would like to completely restore the previously saved state from 'test.ser', but seem to have a misconception of how to properly deserialize an objects state.
The class MyFrame creates the JFrame and seria...
I have two Numbers. Eg:
Number a = 2;
Number b = 3;
//Following is an error:
Number c = a + b;
Why arithmetic operations are not supported on Numbers? Anyway how would I add these two numbers in java? (Of course I'm getting them from somewhere and I don't know if they are Integer or float etc).
...
Here is my problem:
I have 2 tables Accounts and Transaction Logs.
in Accounts table, it has column "Amount" which is a base amount of an account.
and in Trans Logs table, it also has column "Amount" which is additional (add or minus to the base amount) amount of the account.
and I don't know how to retrieve that base amount to edit it,...
I have some files that were created using BSAVE in QuickBasic. I'm wondering how I can load/view these files?
...
I have a question...
Can we call thread_object.start() from within a constructor ?
Is this approach a good idea ?
Thanks.
...
HI I am a new java programmer (very new).
What I want to do/test is (not sure if its recommendable or doable?), we know that
System.out.println("Message");
will output the "Message" in command prompt. Is it possible to display the current time, without having to repeatly use the system.out.println()?
Name, like instead of displayin...