SDTM Maintenance cycle - little help needed
Hi all
I am following the blogs of Dolores Correa (thank you for the blogs) and I have become a little stuck - I am hoping you can help me out.
I have created an SDTM (test message) during my Test Phase. In the blog there is a way to assign the project for the test phase (and therefore the MC) - I cannot find where to do this, how do I assign my test message to the correct maintenance cycle?
Many thanks
Marina
Perhaps I am thinking this is more complicated than it is .... if I only have 1 maintenance cycle does the test message get automatically assigned to that maintenance cycle? and only if I have multiple maintenance cycles do I have to assign a cycle??
I guess that there is also no way to have a test message associated with a particular change request - that would be helpful because then the developer would know what the test message is in relation to, but I can't see a way of connecting a SDTM to a SDMJ.
Any ideas or musings are welcome
Similar Messages
-
A little help needed in message mapping
a little help needed in message mapping
I have to map one of the idoc header segments as many times as it occurs to each Idoc when using the split message funcionality
let us say we have the segment seg1 and there is a QUALF in it
<seg1>
<qualf>001</qualf>
</seg1>
<seg1>
<qualf>002</qualf>
</seg1>
then we use the vbeln to split the idoc into 2.
so if we have
<vbeln> 1 </vbeln>
and
<vbeln>2 </vbeln>
then 2 Idocs should be created like this
<Idoc>
<vbeln> 1 </vbeln>
<seg1>
<qualf>001</qualf>
</seg1>
<seg1>
<qualf>002</qualf>
</seg1>
</Idoc>
<Idoc>
<vbeln> 2 </vbeln>
<seg1>
<qualf>001</qualf>
</seg1>
<seg1>
<qualf>002</qualf>
</seg1>
</Idoc>
it is easy to create the segment by using createif with the QUALF field but my problem how to map the qualf twice for each idoc
Thanks.UseOneAsMany is the function you need to use.
It takes three parameters:
1 --- The node you want to duplicated
2 --- How many times you want to duplicated
3 --- The context you want to place for it.
Regards
Liang -
Little help needed on utl_file
Hi
I am trying to write a small stored procedure for recording some information to a text file, and I need a little help. However, beforehand, let me give you what I have done:
procedure create_record (order_id IN VARCHAR2) IS
l_dir VARCHAR2(10) 'c:/orders';
l_filename VARCHAR2(25) := 'orderlist';
l_datetime DATE := sysdate;
l_output utl_file.file_type;
begin
l_output := utl_file.fopen(l_dir, l_filename, 'w');
if !utl_file.fopen(l_output) THEN
utl_file.put_line(l_output, l_datetime || order_id);
utl_file.fclose(l_output);
else
utl_file.fclose(l_output);
l_output := utl_file.fopen(l_dir, l_filename, 'a');
end if;
end;
Now for questions, firstly, I am not entirely sure that the if statement for checking to see if an existing text file exists is the correct way, and would welcome some help on this, and correction.
Secondly, I need to add a second statement to the if, which if the file exists and the date on that file is the same as the system date, then to open and append some information to it, else create a new file.
Unfortunately, for me, I am not sure how to do this.
Can anyone show me how this can be done?
ThanksHope you can read my coding correctly.
ps: not tested
DECLARE
myFileExist BOOLEAN;
myFileLength NUMBER;
myFileBlockSize BINARY_INTEGER;
myText VARCHAR2(1000):= NULL;
myInstr NUMBER;
l_dir VARCHAR2(10) 'c:/orders';
l_filename VARCHAR2(25) := 'orderlist';
l_datetime DATE := trunc(sysdate);
l_output utl_file.file_type;
BEGIN
utl_file.fgetattr(l_dir, l_filename, myFileExist, myFileLength, myFileBlockSize);
if not myFileExist then -- file not exist
<ul>l_output := utl_file.fopen(l_dir, l_filename, 'w');
utl_file.put_line(l_output, l_datetime || order_id);</ul>
else --file exist
<ul>
l_output := utl_file.fopen(l_dir, l_filename, 'r');
LOOP
<ul>
--------------------------------------------------------------------start loop
UTL_FILE.GET_LINE(l_output,myText) ;
SELECT instr(UPPER(myText),UPPER(trunc(SYSDATE))) into myInstr FROM dual;
IF myText IS NULL THEN
<ul>
EXIT;
</ul>
END IF;
if myInstr > 0 then
<ul>
utl_file.fclose(l_output);
l_output := utl_file.fopen(l_dir, l_filename, 'a');
</ul>
else
<ul>
utl_file.fclose(l_output);
l_filename:='newfilename';
l_output := utl_file.fopen(l_dir, l_filename, 'w');
</ul>
end if;
--------------------------------------------------------------------end loop
</ul>
END loop;
utl_file.put_line(l_output, l_datetime || order_id);
</ul>
end if;
utl_file.fclose(l_output);
END;
Edited by: Lie Ching Te on 12-Feb-2010 12:34 PM
Edited by: Lie Ching Te on 12-Feb-2010 1:01 PM -
A little help needed with AppleScript
Hi:
I need a little help with AppleScript.
I created an AppleScript application to copy some files to a LAN disk that I always have mounted. The application works fine, except that it creates some sort of a lock that prevents me from doing other work with the Finder until the copy process is completed.
If anyone has any ideas for how I can disable this lock, please let me know. I have included the source code of my script below.
Thanks,
-AstraPoint
===== source code =====
with timeout of 1500 seconds
tell application "Finder"
activate
set current_date to (do shell script "date '+%Y-%m-%d at %H-%M-%S'") as string
set name_p to "Personal Data " & current_date & ".dmg"
set name_d to "Documents " & current_date & ".dmg"
(* copy the target files to another local disk - to create an extra backup *)
duplicate file "Personal Data.dmg" of folder "File Backups" of disk "Macintosh HD" to folder "Ad Hoc Backups" of disk "Macintosh HDx" replacing yes
set the name of file "Personal Data.dmg" of folder "Ad Hoc Backups" of disk "Macintosh HDx" to name_p
duplicate file "Documents.dmg" of folder "File Backups" of disk "Macintosh HD" to folder "Ad Hoc Backups" of disk "Macintosh HDx" replacing yes
set the name of file "Documents.dmg" of folder "Ad Hoc Backups" of disk "Macintosh HDx" to name_d
(* mount remote disk/folder using the alias file on our desktop *)
open alias file "disk HD5"
(* copy the target files to a remote disk - to create an extra backup *)
duplicate file name_p of folder "Ad Hoc Backups" of disk "Macintosh HDx" to folder "Bkup" of disk "HD5" replacing yes
duplicate file name_d of folder "Ad Hoc Backups" of disk "Macintosh HDx" to folder "Bkup" of disk "HD5" replacing yes
end tell
end timeoutTry:
ignoring application responses
Documented [here|http://developer.apple.com/library/mac/#documentation/AppleScript/Concept ual/AppleScriptLangGuide/reference/ASLRcontrolstatements.html].
Message was edited by: xnav -
A little help needed on divs etc
ok this is my first time building a site using dw tbh and im still getting to grips with it and learning new code etc as i go.
Ive been asked to design a site for a friend of mines escort business lol kinky i know.
But im having a few probs aligning things properly, here is the site http://www.oldskoolbeats.com/rach (using temp domain until i find other hosting)
the main page is ok as it is i think .. ?
the aboutus.php page is where im getting a bit stuck i cant seem to get anything in the centre as im wanting to put images down the middle.
(btw text size is a little diff as it needs changing anyways as its off an older site)
if anyone can help that will be great.Looking at the code on the aboutus page.
You have links to 2 stylesheets:
<link href="default.css" rel="stylesheet" type="text/css" />
<link href="/default.css" rel="stylesheet" type="text/css" />
The above link is probably the one that shouldn't be there.
You have 2 instances where you use id=pagewrap
<div id="pagewrap">
<div id="left">
and again here:
<div id="pagewrap">
<div id="right">
An ID can only be used once per page.
I'm assuming that the pagewrap rule is supposed to center all of your page corect?
In that case, you need to remove both of the pagewrap divs
and only insert one div and that encloses all of the content
Like so:
<body>
<div id="pagewrap">
<div id="topnav"><div id="menu-wrap">
the rest of the code here
then at the bottom of the page:
</div> <!-- / pagewrap -->
</body>
</html>
As for the top banner image, there is just too much banding on the actual body of the 'model',
particularly on her backend. Did you try and over optimise the image to make
the file size smaller possibly - but this has only degraded the image quality quite a lot by doing so. -
A little help needed with Dijkstra's algorithim
Hi I'm trying to implement Dijkstra's algorithm. I have a class GraphMaker
which creates the graph, and is the main console. And then a second class for Dijkstra's algorithm. Overall it works alright but, I can't to figure out how to get it to find the shortest path for all the cities.
Here's a sample output:
BOSTON To NEW YORK: Cost of: 22 MIAMI: Cost of: 122
NEW YORK To MIAMI: Cost of: 50 HONOLULU : Cost of: 422
DETROIT To CHICAGO: Cost of: 22 PHOENIX: Cost of: 62
MIAMI To HONOLULU : Cost of: 402
CHICAGO To
PHOENIX To
HONOLULU To DETROIT: Cost of: 302 PHOENIX: Cost of: 102
[BOSTON ----> ]
[BOSTON ----> , NEW YORK------>]
[BOSTON ----> , NEW YORK------>, HAWAII------>, DETROIT------>]
[BOSTON ----> , NEW YORK------>, MIAMI------>]
[BOSTON ----> , NEW YORK------>, HAWAII------>,CHICAGO------>]
[BOSTON ----> , NEW YORK------>, HAWAII------>, PHOENIX------>]
[BOSTON ----> , NEW YORK------>, HAWAII------>]
I know its not the most efficient looking output, I'm intermediate coder at best. But at the top you have 7 cities from BOSTON to HONOLULU, and the cities they connect to. Where I'm really having the problem is at the bottom part. It shows the shortest paths from Boston to other the cities. But I want it show not only the shortest paths from Boston but also the shortest paths from the other cities, to their destination.
Here's my code:
The GraphMaker Class:
public class GraphMaker {
private int [][] edges; // The adjacency matrix
private Object [] Cities; // Cities
public static int count;
public GraphMaker (int n) {
edges = new int [n][n];
Cities = new Object[n];
public int GetSize()
return Cities.length;
public void SetCities (int vertex, Object label)
Cities[vertex]=label;
public Object GetCities (int vertex)
return Cities[vertex];
public void AddEdge (int source, int target, int w)
edges[source][target] = w;
public boolean IsEdge (int source, int target)
return edges[source][target]>0;
public void RemoveEdge (int source, int target)
edges[source][target] = 0;
public int GetWeight (int source, int target)
return edges[source][target];
public int [] Neighbors (int vertex) {
count = 0;
for (int i=0; i<edges[vertex].length; i++) {
if (edges[vertex]>0) count++;
final int[]answer= new int[count];
count = 0;
for (int i=0; i<edges[vertex].length; i++) {
if (edges[vertex][i]>0) answer[count++]=i;
return answer;
public void print () {
for (int j=0; j<edges.length; j++) {
System.out.print (Cities[j]+" To ");
for (int i=0; i<edges[j].length; i++) {
if (edges[j][i]>0) System.out.print (Cities[i]+": Cost of: " +
" " + edges[j][i]+" ");
System.out.println (" ");
public static void main (String args[]) {
GraphMaker t = new GraphMaker (7);
t.SetCities (0, "BOSTON");
t.SetCities(1, "NEW YORK");
t.SetCities (2, "DETROIT");
t.SetCities (3, "MIAMI");
t.SetCities (4, "CHICAGO");
t.SetCities (5, "PHOENIX");
t.SetCities (6, "HAWAII");
t.AddEdge (0,1,22);
t.AddEdge (1,6,422);
t.AddEdge (0,3,122);
t.AddEdge (2,4,22);
t.AddEdge (2,5,62);
t.AddEdge (6,5,102);
t.AddEdge (3,6,402);
t.AddEdge (6,2,302);
t.AddEdge (1,3,50);
t.print();
final int [] pred = Dijkstra.dijkstra (t, 0);
for (int n=0; n<7; n++) {
Dijkstra.PrintPath (t, pred, 0, n);
And my Dijkstra class
import java.util.LinkedList;
public class Dijkstra {
public static int [] dijkstra (GraphMaker G, int s) {
final int [] dist = new int [G.GetSize()]; // shortest known distance from "s"
final int [] pred = new int [G.GetSize()]; // the node that preceeds it in the path
final boolean [] visited = new boolean [G.GetSize()]; // all false initially
for (int i=0; i<dist.length; i++) {
dist[i] = Integer.MAX_VALUE;
dist[s] = 0;
for (int i=0; i<dist.length; i++) {
final int next = SmallestVertex (dist, visited);
visited[next] = true;
final int [] n = G.Neighbors (next);
for (int j=0; j<n.length; j++) {
final int v = n[j];
final int d = dist[next] + G.GetWeight(next,v);
if (dist[v] > d) {
dist[v] = d;
pred[v] = next;
return pred;
private static int SmallestVertex (int [] dist, boolean [] v) {
int x = Integer.MAX_VALUE;
int y = -1;
for (int i=0; i<dist.length; i++) {
if (!v[i] && dist<x) {y=i; x=dist[i];}
return y;
public static void PrintPath (GraphMaker G, int [] pred, int s, int e) {
final LinkedList path = new LinkedList();
int x = e;
while (x!=s) {
path.add (0, G.GetCities(x) + "------>");
x = pred[x];
path.add (0, G.GetCities(s) + " ----> ");
System.out.println (path);These are the actual results I get.:
BOSTON To NEW YORK: Cost of: 22 MIAMI: Cost of: 122
NEW YORK To MIAMI: Cost of: 50 HONOLULU : Cost of: 422
DETROIT To CHICAGO: Cost of: 22 PHOENIX: Cost of: 62
MIAMI To HONOLULU : Cost of: 402
CHICAGO To
PHOENIX To
HONOLULU To DETROIT: Cost of: 302 PHOENIX: Cost of: 102
[BOSTON ----> ]
[BOSTON ----> , NEW YORK------>]
[BOSTON ----> , NEW YORK------>, HONOLULU------>, DETROIT------>]
[BOSTON ----> , NEW YORK------>, MIAMI------>]
[BOSTON ----> , NEW YORK------>, HONOLULU------>,CHICAGO------>]
[BOSTON ----> , NEW YORK------>, HONOLULU------>, PHOENIX------>]
[BOSTON ----> , NEW YORK------>, HONOLULU------>]
BOSTON To NEW YORK: Cost of: 22 MIAMI: Cost of: 122
NEW YORK To MIAMI: Cost of: 50 HONOLULU : Cost of: 422
DETROIT To CHICAGO: Cost of: 22 PHOENIX: Cost of: 62
MIAMI To HONOLULU : Cost of: 402
CHICAGO To
PHOENIX To
HONOLULU To DETROIT: Cost of: 302 PHOENIX: Cost of: 102
^
^
^
This part is what I expected I'm fine with that.
[BOSTON ----> ]
[BOSTON ----> , NEW YORK------>]
[BOSTON ----> , NEW YORK------>, HONOLULU------>, DETROIT------>]
[BOSTON ----> , NEW YORK------>, MIAMI------>]
[BOSTON ----> , NEW YORK------>, HONOLULU------>,CHICAGO------>]
[BOSTON ----> , NEW YORK------>, HONOLULU------>, PHOENIX------>]
[BOSTON ----> , NEW YORK------>, HONOLULU------>]
^
^
^
This is where I'm having the problem, it shows the shortest paths from Boston to other cities,which fine right there those are accurate, but I also need it to show the same for the other cities
for example something this:
[NEW YORK----> ]
[NEW YORK ----> , MIAMI------>]
[NEW YORK ----> , NEW YORK------>, HAWAII------>, DETROIT------>]
[NEW YORK ----> , NEW YORK------>, MIAMI------>]
[NEW YORK ----> , NEW YORK------>, HAWAII------>,CHICAGO------>]
[NEW YORK----> , HONOLULU------>]
This would be the results from New York to other cities, although the actual routes for NY would probably be a little different. It would also do the same all the other cites
like DETROIT
[DETROIT ----> ]
[DETROIT ----> , CHICAGO------>]
[DETROIT ----> , CHICAGO------>, HAWAII------>,]
[DETROIT ----> , NEW YORK------>]
[DETROIT ----> ,CHICAGO------>]
[DETROIT ----> , HONOLULU------>]
It should produce a overall chart similar to this:
BOSTON ----> ]
[BOSTON ----> , NEW YORK------>]
[BOSTON ----> , NEW YORK------>, HONOLULU------>, DETROIT------>]
[BOSTON ----> , NEW YORK------>, MIAMI------>]
[BOSTON ----> , NEW YORK------>, HONOLULU------>,CHICAGO------>]
[BOSTON ----> , NEW YORK------>, HONOLULU------>, PHOENIX------>]
[BOSTON ----> , NEW YORK------>, HONOLULU------>]
[NEW YORK----> ]
[NEW YORK ----> , MIAMI------>]
[NEW YORK ----> , NEW YORK------>, HAWAII------>, DETROIT------>]
[NEW YORK ----> , NEW YORK------>, MIAMI------>]
[NEW YORK ----> , NEW YORK------>, HAWAII------>,CHICAGO------>]
[NEW YORK----> , HONOLULU------>]
[DETROIT ----> ]
[DETROIT ----> , CHICAGO------>]
[DETROIT ----> , CHICAGO------>, HAWAII------>,]
[DETROIT ----> , NEW YORK------>]
[DETROIT ----> ,CHICAGO------>]
[DETROIT ----> , HONOLULU------>]
and so on for the other cities
Hopefully makes it a little clearer -
A little help needed???
Hi all... Extreme Newb here.... I have been dragged into the
scary world of flash kicking and screaming all the way.. I am
photoshop junkie that has been brought into a website makeover for
a friend.. I need help creating a page that works very similar to
this link
http://www.yamaha-motor.com/sport/products/modelinnovation/6/0/innovation.aspx
{not sure if the rules of this fourm allow for link examples I am
sorry if they are frowned on} thought it would be the quickest way
to explain what I am after...
I am looking to create a simple action when the mouse rolls
over a hot square... I need for a seperate image to appear on the
stage with a bit of text and on rollout disappear.. It all seems
simple enough but I can't find any info on this either in book form
or web help.... Any suggestion or help would be greatly
appreciated..
Thanks inadvance!!!
FrostbyteA very simple, no code, method for showing something on a
rollover event is to use a button symbol. Create a new button
symbol. This will open the editor. If you look at the timeline for
the button, you'll see that there are only four frames available.
In the existing layer, draw the target that you want to use to
trigger the rollover. If you are using text or an open object, to
to the last frame and add a new keyframe. Draw a filled object to
cover the whole target image. What you draw in the last frame is
the area that will define the hit target of the button.
Add a new layer. and place a keyframe in the second frame of
this new layer. Add another keyframe to the third fram of this
layer. Use the space in the second frame of this second layer for
the content that you want to show when the target is rolled over.
The cross hair at the center of the window will be the
registration point for the button, place the rollover content so
that it appears in the location that you want.
That should get you started. -
Little help needed regarding http and https
Hi,
I maintain a website for my organization. Recently, for a login page, I started using HTTPS. It works fine with HTTPS.
The problem I face is : When a user goes to login page, he sees the login page via HTTPS. Now, if user doesn't submit the login form but chooses to browse some other link on the same page, that page will still be shown using HTTPS because links are relative. This increases unnecessary HTTPS traffic on the server.
I need a solution that can help me to change protocol back to HTTP if the user doesn't submit login form. I have written small piece of java script that can check at the time of leaving the page. If submit button wasn't pressed, it should change the protocol back to HTTP. I have played around window.location object trying to change it's href property. But, no luck yet. Please help me.
window.onunload = function()
// if submit button wasn't pressed, change the protocol back to HTTP
if (!submitPressed)
window.location.protocol="http:";
alert(windows.location.href);
window.location.port = "80";
}Please let me know if you know about some simple solution.
Edited by: Di_Ke on Nov 13, 2007 2:12 PM
Edited by: Di_Ke on Nov 13, 2007 2:14 PMJust to clarify, before anyone can answer: Do you have access to the web server settings, and are you looking for a server side solution for this problem? If the answer to any of those two question is no, and you are just looking for a javascript help, this forums is not the best source for answers.
-
Little help needed with SNR reset
Hi, until june we had been getting 3/3.5meg line speed. After a line fault (noisey line out side) which we are told is fixed our speed droped to around 1.5megs.
We have been waiting and waiting for the speed to return to normal but no such luck. So here I am asking for some help with the SNR which I assume is the problem.
From reading other posts I understand you need the speed test and hub stats, so have included. Also using one of the old white hubs if thats anything u need to know.
1. Best Effort Test: -provides background information.
Download Speed
1.34 Mbps
0 Mbps
2 Mbps
Max Achievable Speed
Download speedachieved during the test was - 1.34 Mbps
For your connection, the acceptable range of speeds is 0.8 Mbps-2 Mbps.
IP Profile for your line is - 1.44 Mbps
2. Upstream Test: -provides background information.
Upload Speed
0.22 Mbps
0 Mbps
0.45 Mbps
Max Achievable Speed
Upload speed achieved during the test was - 0.22Mbps
Additional Information:
Upstream Rate IP profile on your line is - 0.45 Mbps
DSL Connection
Link Information
Uptime:
3 days, 21:38:21
Modulation:
G.992.1 annex A
Bandwidth (Up/Down) [kbps/kbps]:
448 / 1,632
Data Transferred (Sent/Received) [MB/GB]:
353.88 / 5.56
Output Power (Up/Down) [dBm]:
12.5 / 17.0
Line Attenuation (Up/Down) [dB]:
31.5 / 59.0
SN Margin (Up/Down) [dB]:
15.0 / 15.5
Vendor ID (Local/Remote):
TMMB / IFTN
Loss of Framing (Local/Remote):
0 / 0
Loss of Signal (Local/Remote):
4 / 0
Loss of Power (Local/Remote):
0 / 0
Loss of Link (Remote):
0
Error Seconds (Local/Remote):
6 / 0
FEC Errors (Up/Down):
0 / 27,260
CRC Errors (Up/Down):
0 / 117
HEC Errors (Up/Down):
0 / 96
Line Profile:
Interleaved
Solved!
Go to Solution.Just this minute got an email from forum mod to infor he requested my SNR be reset to 6db.
home hub rest itself a few seconds later.. new stats...
DSL Connection
Link Information
Uptime:
0 days, 0:00:27
Modulation:
G.992.1 annex A
Bandwidth (Up/Down) [kbps/kbps]:
448 / 2,976
Data Transferred (Sent/Received) [KB/KB]:
39.00 / 112.00
Output Power (Up/Down) [dBm]:
12.5 / 18.0
Line Attenuation (Up/Down) [dB]:
31.5 / 59.0
SN Margin (Up/Down) [dB]:
15.0 / 5.5
Vendor ID (Local/Remote):
TMMB / IFTN
Loss of Framing (Local/Remote):
0 / 0
Loss of Signal (Local/Remote):
7 / 0
Loss of Power (Local/Remote):
0 / 0
Loss of Link (Remote):
0
Error Seconds (Local/Remote):
12 / 0
FEC Errors (Up/Down):
0 / 0
CRC Errors (Up/Down):
0 / 151
HEC Errors (Up/Down):
0 / 45
Line Profile:
Fast -
A little help needed for card drawing
i was told to write a program in java for a friend, i know almost nothing of java, and came here for help
-i need a class that draws 1 card from a 52 card deck and displays the value of the card.
-a class that will draw 5 cards from a deck of cards 9 ? A (single deck) and displays them.
thanks in advance.
again, im not a programmer, but any suggestions are helpful maybe some code to start me out.HermTheWorm wrote:
i was told to write a program in java for a friend, i know almost nothing of java, and came here for help
-i need .....
again, im not a programmer, but any suggestions are helpful maybe some code to start me out.From your Nov 1 post: http://forum.java.sun.com/thread.jspa?threadID=5232501
hello, i am making a hall pass program for my computer programming class. i am having issues with my jcheckboxes. first off. this file reads from a .txt that just has
greg
john
...Sorry, but something about all this strikes me as being a bit odd. Maybe it's just me. -
Just a little help needed please!
Hello all - My name is John, new poster here on the forums.
I'm taking a Java class and I'm really really stuck - I took this 'TestScanner.java' right outta my text and it gives me an error when I compile it at cmd prompt; I checked and rechecked my coping from the text and it is correct. I polled 5 other people and for 2 of them it works when they compile yet all others it won't work.
I'm running -
Java version "1.6.0_07"
Java SE Runtime Environment (Build 1.6.0_07-b06)
Java Hotspot Client VM (build 10.0-b23, mixed mode, sharing)
The Script i'm trying to run -
import java.util.Scanner;
public class TestScanner {
public static void main(String args[]) {
Scanner input = new Scanner(System.in);
System.out.print("Enter an integer: ");
int intValue = input.nextInt();
System.out.println("You entered the integer " + intValue);
System.out.print("Enter a double value: ");
double doubleValue = input.nextDouble();
System.out.println("You entered the double value " + doubleValue);
System.out.print("Enter a string without space: ");
String string = input.next();
System.out.println("You entered the string " + string);
When I run javac TestScanner.java I get 3 errors on the capital S in the lines -
import java.util.Scanner;
^
Scanner input = new Scanner(System.in);
^
Scanner input = new Scanner(System.in);
^
I'm really not sure what the deal is here and I really thank you for your help with this.
- JohnI ran your code on this java version. It just ran perfect:
java version "1.6.0_10-rc"
Java(TM) SE Runtime Environment (build 1.6.0_10-rc-b28)
Java HotSpot(TM) Client VM (build 11.0-b15, mixed mode, sharing)
I would suggest just remove all the code and just System.out.println("Test") then start adding the code one line at a time so you know where the problem is coming from..
csr -
Can someone please tell me in detail how to easily take a video soundtrack from an FCP sequence and apply an effect to specific areas of the track and then have it renedered that way in FCP?
I know how to call SP from FCP for one selected segment of a sequence - do I mark the whole sequence to get it all - what is the keystroke shortcut?
Once in SP - how do I mark a segment, apply an effect, mark another segment, apply and effect, etc ,etc and then when done, what do I do to save this for rendering? Anything to do back in FCP?
Just simple menu or keystrokes needed to do this would be greatly appreciated.So you just want to apply effects. There's a roundtrip command from FCP you can use that part you can find [it's in the manual].
In Soundtrack Pro-applying filters once you've got the audio file: just select the audio with the timeline ruler like you would text-then from the process menu>apply filter and it's done; move on to the next segment repeat procedure.
Bottom line think of the audio separate from the text, you can just save it as an aif. file and reinsert it into the video, provided the sample rate and timeline so on doesn't change [unless you're applying it to the video also in SP.]
Power Mac G5 2GHz iBook g4 1.42GHz Mac OS X (10.4.7) 2.5GB ram 500gb Micronet Platinum -
3D world - a little help needed
Hi, I'm new here. I'm a student studying a degree in Digital Media Technology, I am in my final year.
Ok, so I have entered into a project in which I must create a simple, 3d world using that can be navigated using the keyboard in Director.
Like a game except there is no goal, simply a world to wonder around.
I have tried many...tutorials...such as the 3d block maze tut available.
I am new to director so I have been thrown in at the deep end.
Could anyone help me on how I should go about creating this 3d world?
I thought maybe creating a simple world in 3D studio max and importing it into director, however if I did this, how would I make this world playable once imported?
Any ideas, links to tutorials, etc would be greatly appreciated.
Many thanks
OliverDean Utian's 3D tutorials at http://www.deansdirectortutorials.com/ demonstrate how to set up and navigate around in a 3D world using the arrow keys if you already have some 3D models made in another program. Dean's more advanced tutorials use a character named Mr. Tofu but his 3D Lingo tutorial shows how to build a 3D primitve sphere. You can build and apply shaders to planes, boxes, and cones similarly and then use the same concepts to navigate a block bus or truck through a block city built on a ground plane or something of the sort.
3DS Max seems to be best suited for making models and animations but if you don't have access to it, 3D Canvas Pro will enable you to make or use pre-made models(by importing them as .obj's), animate them either with simple keyframe animation or bone animation and export the files to .w3d for use in Director. Its IK system is a bit ackward as compared to 3DS max but it only costs $69.00 and has a lot of capabilities. 3D for the Web by Carol MacGillivray and Anthony Head is fairy easy reading has a lot more depth on setting up environments and rigging characters for use in Director with example files on their CD. -
Hello .... How can i access an object (movieclip) at a specific frame which is located inside another movieclip. It's something like this : first movieclip - and inside it, on frame 10 i have the second movieclip. I want to access that second movieclip ont that 10th frame. Please help!
You can't access it unless your movieclip is currently at that 10th frame.
-
Hi , i have box_mc and box2_mc and i have an animation_mc (i maked it at flash)
i would if i drop box_mc on box2_mc animation should play.
My codes: for box1_mc
onClipEvent (load) {
this.tabEnabled = false;
this._visible = false;
orig_x = this._x;
orig_y = this._y;
on (press) {
this.startDrag();
on (release) {
this.stopDrag();
this._x = orig_x;
this._y = orig_y;
if (eval(this._droptarget) == _level0.box2_mc) {
_level0.animation_mc.play() //it doesnt work
if you help me i will be glad (sorry for eng)There is nothing wrong with the code as you show it if all three objects are on the same main timeline.
Use the trace() function to make sure the conditional test is being satisfied and that the animation_mc object exists.
on (release) {
this.stopDrag();
this._x = orig_x;
this._y = orig_y;
trace(eval(this._droptarget));
if (eval(this._droptarget) == _level0.box2_mc) {
trace(eval(_level0.animation_mc));
_level0.animation_mc.play() //it doesnt work
Maybe you are looking for
-
Choppy video in FCP and upon export to QT
I have been working with DV for years and recently upgraded to the Panasonic HMC150 (AVCHD). Whenever I worked with DV in FCP, there were little stutters in the video when playing a panning shot at normal speed, and I always assumed this was just a l
-
How do I connect my 27" iMac to the HDMI port of my LCD TV ?
How do I connect my 27"iMac to the HDMI Port of my LCD TV ?
-
E-mail functionality using so_new_document_att_send_api1
Hi We Implemented E-mail functionality in our tool useing "so_new_document_att_send_api1" standard FM but here im unable to attach excel document .How to attach a excel document in this standard FM plz help. Asif
-
I'm having a problem getting iTunes to run on my machine.... what lead up to this problems is as follows 1. Installed iTunes.... worked great 2. had a system crash as a result of a windows update that did not install correctly. 3. ran system restore
-
How to see my old postings ?
Hi there, I remembered I asked some questions here & it was answered before but it was long time ago. So, instead of asking again, I thought I just do a search. I click on my make & goto the "Your Stuff" tab. But what i see are only those 3 months ag