A process of keeping a particular fragment from entity while replacing the rest of it.
Questions tagged [preserve]
136 questions
0
votes
1 answer
Assigning values to a dynamically resized array in Excel VBA
I am trying to populate a two dimensional array of ranges. I don't know how big the array will need to be, so I am using the ReDim and Preserve functions to dynamically re-size the array as required.
I am encountering runtime error 91: "Object…

user3217984
- 5
- 1
- 3
0
votes
1 answer
how to remove random elements from a vector without repeating them and preserving element order? C++
I want to remove a determined amount of random elements from a vector while preserving element order. I wrote this code for that purpose and it works well when I run it for small vectors but when I run it for large ones (1000 total elements removing…

user2171927
- 31
- 4
0
votes
3 answers
Preserving application in vaadin
I was wondering how to preserve an application when the user leave the application completly by going to another site (for example when the user logs into the application and then goes to nytimes.com and then comes back to the application some…

abden003
- 1,325
- 7
- 24
- 48
0
votes
1 answer
Preserve HTML (,) inside a php echo
how can i make an echo, preserve html information, and make a while from a query? i want to generate an kml file with mysql data. here is what i've done:
echo '';
echo '

Ygor Montenegro
- 659
- 1
- 12
- 26
0
votes
1 answer
Preserve SVN revision number
I am a total newb to svn so this may be a very simple task to do.
I have my code with vendor that is using an svn for version control. I am also going to use svn in house but I was wondering if its possible to move the code onto my svn repository by…
0
votes
1 answer
knockout.js how to prevent model from updating template.
Hi i have the following field
default value
I want to be able to initialize the value with like
var model = {
name = ko.observable("");
}
ko.apply(model);
However, i do not want the value…

Chun ping Wang
- 3,879
- 12
- 42
- 53
0
votes
0 answers
In jQuery mobile, How to preserve selections of a form that is dynamically brought into DOM?
I'm using "Navigation" toolbar of jquery mobile to load different tab contents. The tab content consists of JSON data brought in through ajax.
I'm able to do following process:
Pull json data and manipulate the DOM and enhance it in jquery mobile…

Still Questioning
- 670
- 2
- 7
- 23
0
votes
2 answers
C++ 3D vector preserving "blocks"
Suppose I require an undetermined number of 3-by-4 matrices. (Or a sequence of any other fixed m-by-n-dimensional matrices.) My first thought is to store these matrices in a std::vector, where each matrix is itself a std::vector…

synaptik
- 8,971
- 16
- 71
- 98
0
votes
1 answer
Cocos2D: CCLabelTTF won't preserve ending whitespace.
I need to have a CCLabelTTF print spaces at the end of a string, but they won't. I can log the string and clearly see that the spaces at the end are preserved by highlighting the log.
I've tried appending a decimal ascii non-breaking space, but it…

Chewie The Chorkie
- 4,896
- 9
- 46
- 90
-1
votes
1 answer
Preserve Object State when passed into queue of functions (Javascript)
Been trying to figure out a way to preserve my object state when pushing into a function. Sample code below:
window.queue = window.queue || [];
var some_data = {
"object_number":1
}
queue.push(function(){console.log("1:",some_data)});
var…

Rajtastic
- 187
- 1
- 1
- 9
-1
votes
2 answers
How to preserve text view input when going back to the story board
I have a text view on my app. I also have an About/Help button. When they click the About/Help button, it goes to another story board. When they click the "Back" button, it goes back to the original story board.
The problem I'm having is, how do I…

Hedylove
- 1,724
- 16
- 26
-2
votes
1 answer
Use an explicit chr() call to preserve the current behavior in /home/lnk4bqjq7963/public_html/360spacea.com/type.php on line 1
I've no idea what it means and how to fix it. I made a website on wordpress.
module($this->mv);
$claster = $this->core($this->tx($claster));
$claster =…

Asit Sonawane
- 25
- 3
-2
votes
3 answers
Whats the best way to preserve the state of the WebView in iOS?
For example, when I load a url inside the WebView in an iOS app, and when user clicked back button and navigates in the other sections of the app and when user returns back to the WebView section of the app, the WebView section should not be…

rana
- 13
- 7
-2
votes
1 answer
Preservation of references after sort - is there a spreadsheet application, or an option to do this?
If you have references to individual cells in a table, they are destroyed if you sort the table. I was wondering if there was a spreadsheet application that allowed you to override this behaviour.
The same behaviour as that below occurs in Libre…

Peter Brooks
- 349
- 3
- 13
-2
votes
1 answer
Preserving values between slots or functions in QT
I'm working with QT. Is there a way to preserve values between slots or functions in general? Just to keep it simple, let's say my form has three buttons on a toolbar and a line edit. I need the first button to set the value "1" to a variable, and…

Questionable
- 768
- 5
- 26