However, that's not very useful. The following might be a bit more interesting.
In the REPL
As you see, product.num is accessible, which is nice for debugging purposes, but it should be manipulated and handled by a method in the class.
Last edited by Aia; 08-27-2015 at 12:13 PM..
Reason: mispelling
Hi,
Is it possible to call the constructur of a java class in a shell script?
I know you can call static methods, but can you also call the constructor?
tnx. (1 Reply)
Good morning all....
I have been learning Perl for about 2 months now and I guess I am getting there as much as I can however I am really stuck. I have a Perl script called postEvent.pl which uses a package called event.pm. PostEvent.pl depends on a meithod inside event.pm called isSuccess to... (0 Replies)
I'll be gratefull for any help. Thanks.
:)
This is the non class type error:
# g++ -I/usr/include/mysql -I/usr/include/mysql++ -lmysqlpp -L/usr/lib/mysql -L/usr/local/lib/mysql++ loaddsgsports.cpp -o loaddsgsports
loaddsgsports.cpp: In function âint outputToImport(const char*, const char*,... (1 Reply)
I have a requirement where I collect inputs from entry widget in gui(via variables a,b,c) and then output a string like this: -a a -b b -c c.
Hence if I have given a=1 b=2 c=3, The output string is --> -a 1 -b 2 -c 3
or if I have given a=1 b=2 (c left blank) then the output is --> -a 1... (1 Reply)
Good morning, I have a python 2.3 script that runs stand alone as intended when tested, then it was put into a ksh script. when running the ksh script it runs as intended. The problem is that my script does not run when the ksh script is called by another user who runs a batch process (as of right... (1 Reply)
Hi all!
I am trying to register a device in an existing device class, but I am
having trouble getting the pointer to an existing class.
I can create a class in a module, get the pointer to it and then use
it to register the device with:
*cl = class_create(THIS_MODULE, className);... (0 Replies)
Good Morning,
I am working on a pyhton script, where it has to fetch a file from our vendor's server over an ftp.
The file is having a date format of "MMDDYYYY" (i have included in my python script), but when the script is executed it is unable to fetch the file.
At the same time, if i... (1 Reply)
Guys it is very simple script , but for some reason my IF condition is not matching.
from sys import argv
import os
filename='testdata.txt'
txt=open(filename)
while 1:
line= txt.readline()
if not line:
break
line=line.strip('\n')
sp=line.split(" ")
command =sp+ " " +sp+ " "... (4 Replies)
Hello All,
I am a learner in C++. I was testing my inheritance knowledge with following piece of code.
#include <iostream>
using namespace std;
class base
{
public :
void display()
{
cout << "In base display()" << endl;
}
void display(int k)
{... (2 Replies)
there are about 300 objectivec .m files and I need to print each file name and its method and number of lines inside the method
there is a sample perl files that do perl brace matching... (0 Replies)
Discussion started by: steve32001
0 Replies
LEARN ABOUT OPENSOLARIS
inquiry-revision-id
inquiry-device-type(9P) Kernel Properties for Drivers inquiry-device-type(9P)NAME
inquiry-device-type, inquiry-vendor-id, inquiry-product-id, inquiry-revision-id, inquiry-serial-no - inquiry properties for SCSI devices
DESCRIPTION
These are optional properties, typically created by the system, for SCSI target devices. References to these properties should use their
sys/scsi/impl/inquiry.h defined names.
inquiry-device-type is an integer property. When present, the least significant byte of the value indicates the device type as defined by
the SCSI standard. Consumers of this property should compare the property values with DTYPE_* values defined in sys/scsi/generic/inquiry.h.
inquiry-vendor-id is a string property. When present, it contains the vendor information. This information typically comes from the
scsi_inquiry(9S) "inq_vid" field.
inquiry-product-id is a string property. When present, it contains the product identification. This information typically comes from the
scsi_inquiry(9S) "inq_pid" field.
inquiry-revision-id is a string property. When present, it contains the product revision. This revision typically comes from the
scsi_inquiry(9S) "inq_rev" field.
inquiry-serial-no is a string property. When present, it contains the serial number. The serial number is typically obtained from the EVPD
"Unit Serial Number" SCSI INQUIRY data (page 0x80).
SEE ALSO scsi_inquiry(9S)
Writing Device Drivers
NOTES
Values established at tran_tgt_init(9E) time by an HBA driver take precedence over values established by the system, and HBA driver values
may not be the same length as the typical scsi_inquiry(9S) field.
SunOS 5.11 18 May 2001 inquiry-device-type(9P)